// Definition of view for images in models
// Copyright 2005 (C) Ralph Thomas

#ifndef MISSION_VIEW_IMAGE_H
#define MISSION_VIEW_IMAGE_H

#include <factory.hpp>

namespace view {
	//
	/// The image view widget can draw an image from model data. This is
	/// supported through the "bind" attribute.
	///
	/// \param	parameters	a dictionary of parameters for the new
	///				image-view widget.
	/// \param	parent		the parent of the image-view widget.
	/// \param	token		the factory token containing everything
	///				else for creating the widget.
	///
	/// \return	a widget_node_t containing the new image-view widget.
	//
	adobe::widget_node_t image_factory(
		const adobe::dictionary_t&	parameters,
		const adobe::widget_node_t&	parent,
		const adobe::factory_token_t&	token );
};

#endif

